package com.luohoufa.ms.mybatisdemo.mapper;

import com.luohoufa.ms.mybatisdemo.model.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StudentMapper {
    long add(Student student);
    long update(Student student);
    int deleteById(long id);
    Student queryBySno(@Param("sno") String sno);
}
